package com.jic.point.rest.request;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 后端-admin通用请求
 */
@Data
public class BaseEntityRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", example = "1")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页显示条数，默认 10", example = "10")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人ID")
    private Long creator;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改人ID")
    private Long updater;

    @ApiModelProperty(value = "删除标志（0不删除， 1删除)")
    private Integer deleteFlag;

    @ApiModelProperty("部门ID")
    private Long deptId;

    @ApiModelProperty(value = "token")
    private String token;

    private AdminOperate adminOperate;
}
